package com.ruoyi.web.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 临床招募疾病对象 clinical_disease
 *
 * @author drx
 * @date 2024-04-08
 */
@ApiModel("临床招募疾病")
public class ClinicalDisease extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    @ApiModelProperty("$column.columnComment")
    private Long id;

    /** 临床招募id */
    @Excel(name = "临床招募id")
    @ApiModelProperty("临床招募id")
    private Long clinicalId;

    /** 疾病id */
    @Excel(name = "疾病id")
    @ApiModelProperty("疾病id")
    private Long diseaseId;

    /** 父id */
    @Excel(name = "父id")
    @ApiModelProperty("父id")
    private Long pid;

    /** 创建人名称 */
    @Excel(name = "创建人名称")
    @ApiModelProperty("创建人名称")
    private String createName;

    /** 更新人名称 */
    @Excel(name = "更新人名称")
    @ApiModelProperty("更新人名称")
    private String updateName;

    /** 是否删除（0否；1是） */
    @ApiModelProperty("是否删除（0否；1是）")
    private String delFlag;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setClinicalId(Long clinicalId)
    {
        this.clinicalId = clinicalId;
    }

    public Long getClinicalId()
    {
        return clinicalId;
    }
    public void setDiseaseId(Long diseaseId)
    {
        this.diseaseId = diseaseId;
    }

    public Long getDiseaseId()
    {
        return diseaseId;
    }
    public void setPid(Long pid)
    {
        this.pid = pid;
    }

    public Long getPid()
    {
        return pid;
    }
    public void setCreateName(String createName)
    {
        this.createName = createName;
    }

    public String getCreateName()
    {
        return createName;
    }
    public void setUpdateName(String updateName)
    {
        this.updateName = updateName;
    }

    public String getUpdateName()
    {
        return updateName;
    }
    public void setDelFlag(String delFlag)
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag()
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("clinicalId", getClinicalId())
                .append("diseaseId", getDiseaseId())
                .append("pid", getPid())
                .append("createBy", getCreateBy())
                .append("createName", getCreateName())
                .append("createTime", getCreateTime())
                .append("updateBy", getUpdateBy())
                .append("updateName", getUpdateName())
                .append("updateTime", getUpdateTime())
                .append("delFlag", getDelFlag())
                .toString();
    }
}
